#ifndef _PM_WAVE_H_
#define _PM_WAVE_H_

#include "../../embeddable/math/EmbeddableMath.h"
#include "../../wave/Wave.h"

/*
	class : PmWave
	desc : This tries to create a PM wave to do this.
*/
class PmWave
{
	public :
	Wave carrier; //carrier wave
	
	double get(unsigned long int time, double value)
	{
		return carrier.Amplitude * Embeddable::Math::sin(
			carrier.angularFrequency*time
			+ value + carrier.phase);
				);
	}
};


#endif
